package com.minelx.statementsplus.cha.base;

import com.minelx.landisk.filesystem.core.File;
import com.minelx.statementsplus.cha.base.response.ExplainResponse;

public interface ChaSession {
	void download(TaskCommitment taskCommitment, File file);

	ExplainResponse explainForResponse(String majorSql);

	default boolean explain(String majorSql) {
		return explainForResponse(majorSql).isSuccess();
	}
}
